body{
    height: auto;
}
/* 导航栏 */
.heima_nav {
	border-bottom: 1px solid #ccc;
}
.heima_nav .container{
    width: 1280px;
}

.heima_nav .navbar-brand {
	height: 60px;
}

.heima_nav .navbar-nav>.nav-item>a {
	height: 40px;
}

.heima_nav .navbar-nav>.nav-item>a:hover,
.heima_nav .navbar-nav>.nav-item>a:focus {
	border-bottom: 2px solid red;
}

.navbar-nav1{
    display: none;
    top: 0px;
    clear: black;
    justify-content: flex-end
}
.navbar-nav2{
    display: block;
    top: 0px;
    clear: black;
    justify-content: flex-end
}
.nav-link1{
    text-decoration: none;
    color: black;
}
.logo-text{
    line-height: 50px;   
}
.logo-img{
    width: 50px;
    height: 50px;
}
.user-img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}


/* 个人中心 */
.user-aside{
    width: 100%;
}
.aside{
    float: left;
    width: 250px;
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 100%;
    padding-right: 0px;
    padding-left: 0px;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057;
    background-color: skyblue;
    border-color: #dee2e6 #dee2e6 #fff;
}
.sidebar {
    margin: 0;
    padding: 0;
    width: 250px;
    background-color: #f1f1f1;
    height: 100%;
    overflow: auto;
  }
  .sidebar1 {
    margin: 0;
    padding: 0;
    width: 250px;
    background-color: #f1f1f1;
    height: 100%;
    overflow: auto;
  }
  .sidebar1 a {
    display: block;
    color: black;
    padding: 16px;
    text-decoration: none;
  }
  
  .sidebar a {
    display: block;
    color: black;
    padding: 16px;
    text-decoration: none;
  }
   
  .sidebar a.active {
    background-color: #4CAF50;
    color: white;
  }
  
  .sidebar a:hover:not(.active) {
    background-color: #555;
    color: white;
  }
  
  div.content {
    padding: 1px 45px;
    height: 1000px;
  }
  .navbar-toggler{
    margin-left: 40px;
    display: none;
  }
  .collapse{
    display: block;
  }
  .cart-thead {
    height: 32px;
    line-height: 32px;
    margin: 5px 0 10px;
    padding: 5px 0;
    background: #f3f3f3;
    border: 1px solid #e9e9e9;
    border-top: 0;
    position: relative;
}

.cart-item {
    height: 160px;
    border-style: solid;
    border-width: 2px 1px 1px;
    border-color: #aaa #f1f1f1 #f1f1f1;
    background: #fff;
    padding-top: 14px;
    margin: 15px 0;
}

.cart-thead>div,
.cart-item>div {
    float: left;
}

.t-checkbox,
.p-checkbox {
    height: 18px;
    line-height: 18px;
    padding-top: 7px;
    width: 122px;
    padding-left: 11px;
}

.p-img {
    float: left;
    border: 1px solid #ccc;
    padding: 5px;
}

.p-txt {
    float: left;
    width: 210px;
    margin: 0 10px;
}

.quantity-form {
    width: 80px;
    height: 22px;
}

.decrement,
.increment {
    float: left;
    border: 1px solid #cacbcb;
    height: 18px;
    line-height: 11px;
    padding: 1px 0;
    width: 16px;
    text-align: center;
    color: #666;
    margin: 0;
    background: #fff;
    margin-left: -1px;
}

.itxt {
    float: left;
    border: 1px solid #cacbcb;
    width: 42px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    padding: 1px;
    margin: 0;
    margin-left: -1px;
    font-size: 12px;
    font-family: verdana;
    color: #333;
}

/* 结算模块 */

.cart-floatbar {
    height: 50px;
    border: 1px solid #f0f0f0;
    background: #fff;
    position: relative;
    margin-bottom: 50px;
    line-height: 50px;
}

.select-all {
    float: left;
    height: 18px;
    line-height: 18px;
    padding: 16px 0 16px 9px;
    white-space: nowrap;
}

.select-all input {
    vertical-align: middle;
    display: inline-block;
    margin-right: 5px;
}

.operation {
    float: left;
    width: 200px;
    margin-left: 40px;
}

.clear-all {
    font-weight: 700;
    margin: 0 20px;
}

.toolbar-right {
    float: right;
}

.amount-sum {
    float: left;
}

.amount-sum em {
    font-weight: 700;
    color: #E2231A;
    padding: 0 3px;
}

.price-sum {
    float: left;
    margin: 0 15px;
}

.price-sum em {
    font-size: 16px;
    color: #E2231A;
    font-weight: 700;
}

.btn-area {
    font-weight: 700;
    width: 80px;
    height: 40px;
    line-height: 40px;
    color: #fff;
	font-size: 14px;
    text-align: center;
	margin-top: 5px;
    font-family: "Microsoft YaHei";
    background: #e54346;
    overflow: hidden;
}

@media (max-width: 1200px) {
    *{
		font-size: 14px;
	}
	.cart-floatbar{
		height: auto;
	}
	.toolbar-right{
		float: left;
		align-self: flex-end;
	}
}

@media (max-width: 996px) {
    *{
		font-size: 12px;
	}
	.w img{
		width: 65px;
		height: 65px;
	}
	.t-checkbox>p{
		display: none;
	}
}

@media (max-width: 767px) {
	*{
		font-size: 10px;
	}
    .w img{
		width: 60px;
		height: 60px;
	}
	.itxt{
		width: 32px;
	}
	.quantity-form {
	    width: 64px;
	    height: 22px;
	}
}

@media (max-width: 500px) {
    *{
		font-size: 8px;
	}
	.w img{
		width: 55px;
		height: 55px;
	}
	.itxt{
		width: 24px;
		height: 16px;
	}
	.cart-floatbar{
		align-items: center;
	}
	.select-all{
		margin-bottom: 10px;
	}
	.decrement,
	.increment{
		height: 16px;
	}
	.quantity-form {
	    width: 56px;
	    height: 16px;
	}
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        margin-left: 0px;
    }
}